﻿mainModule.controller("editCtrl", ["$scope", "localizationSvc", "$controller", function ($scope, apiSvc, $controller) {
    "use strict";
    // instantiate base controller    
    $controller('BaseEditCtrl', { $scope: $scope, apiSvc: apiSvc });

    $scope.$on('itemAdding', function (e, query) {                                        
        $scope.item.CultureID = query.CultureID;       
    });
}]);